

import random,string

set1 = set()
num = string.ascii_letters+string.digits

for i in range(300):
    a = ''
    for k in range(6):
        a += str(random.choice(num))
    set1.add(a)
    if len(set1) == 200:
        break

print('激活码数量{}，分别为{}'.format(len(set1),set1))


